<?php

namespace App\Service\OpenShop\Feishu;

use Kuafu\express\KuafuExpress;

class ExpressService
{
    /**
     * 返回快递查询的url
     * @param $nu
     * 快递单号
     * @param $company
     * 快递公司代码  必须是code
     * @return array
     */
    public static function getUrlByCompanyCode($nu, $company)
    {
        return ['url' => KuafuExpress::webUrl($nu, $company)];
    }
}
